#ifndef QMLCPP_H
#define QMLCPP_H

#include <QObject>
#include "tf_modbus.h"

#define IMX6Q

class qmlCpp : public QObject, tf_modbus
{
    Q_OBJECT
public:
    explicit qmlCpp(QObject *parent = nullptr);
    ~qmlCpp();

    Q_INVOKABLE void setLed(bool status);
    Q_INVOKABLE QString get_temp();

    QSocketNotifier *m_notifier;

public slots:
    void remoteDataIncoming();



private:
    int led_fb;
signals:

};

#endif // QMLCPP_H
